package com.ljfresh.customer.sercice.Impl;

import com.ljfresh.customer.mapper.UserMapper;
import com.ljfresh.customer.pojo.User;
import com.ljfresh.customer.sercice.UserService;
import com.ljfresh.customer.sercice.common.Impl.CommonServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: Lucifer
 * @time: 2020/4/9-16:01
 */
@Service
public class UserServiceImpl extends CommonServiceImpl<User,Long> implements UserService {


    @Resource
    private UserMapper userMapper;

    @Autowired
    public void setGenericDao() {
        super.setCommonMapper(userMapper);
    }

}
